Component({
    properties: {
        show: {
            type: Boolean,
            value: !1
        },
        list: {
            type: Array,
            value: []
        }
    },
    observers: {
        show: function(t, a) {
            this.setData({
                changeCompany: t
            });
        }
    },
    data: {
        changeCompany: !1,
        radio: "1"
    },
    methods: {
        onClickRadie: function(t) {
            var a = t.currentTarget.dataset.id;
            this.setData({
                radio: a
            });
        },
        changeCid: function() {
            this.triggerEvent("changeCid", {
                cid: this.data.radio
            }), this.hiddenPop();
        },
        addCompany: function() {
            this.hiddenPop(), this.triggerEvent("addCompany", {});
        },
        hiddenPop: function() {
            this.setData({
                changeCompany: !1
            });
        }
    }
});